#!/bin/bash

echo "=== 最终验证 ==="

echo "1. 所有包含路径:"
grep -n "Add directory" cbp2make_aicoder_wx32_64.cbp | grep -i compiler

echo ""
echo "2. 所有库引用:"
grep -n "Add library" cbp2make_aicoder_wx32_64.cbp

echo ""
echo "3. 所有库搜索路径:"
grep -n "Add directory" cbp2make_aicoder_wx32_64.cbp | grep -i linker

echo ""
echo "4. 检查是否还有错误路径:"
if grep -q "D:.*include.*tinyxml" cbp2make_aicoder_wx32_64.cbp; then
    echo "❌ 还有错误路径存在"
else
    echo "✅ 没有错误路径"
fi

echo ""
echo "🎉 所有修复已完成！"
echo "请在 CodeBlocks 中："
echo "1. 关闭项目（如果已打开）"
echo "2. 重新打开项目"
echo "3. 构建 → 重建"
